Several comparison functions passed to qsort() violated the ordering
axioms. With glibc >= 2.37 qsort() takes an in-place introsort path that
has undefined behaviour for such comparators and reads uninitialised
memory, so the generated TrueType instructions varied between builds
(e.g. FreeSerif.ttf from the GNU FreeFont sources).
Make SortBlues(), SortStems(), sortbynum(), sortedges(), stem_cmp() and
line_pt_cmp() return a proper trichotomous result and compare both
arguments symmetrically.
FontForge documentation uses sphinx.ext.mathjax which insert script links
to MathJax served on remote CDNs.
This patch, together with debian/fontforge-doc.links, replaces remote
scripts with MathJax from the libjs-mathjax package.
See https://bugs.debian.org/739300 for discussion.
Fixes Lintian privacy-breach-generic warnings.
Last-Update: 2020-11-24
Gbp-Pq: Name 0003-use-local-libjs-mathjax.patch
This reverts upstream's preference of setting RPATH/RUNPATH for
installed binaries. Fixes Lintian custom-library-search-path error.
Last-Update: 2020-11-18
Gbp-Pq: Name 0002-remove-custom-library-search-path.patch